/** 主入口js */
import { createApp } from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'
import './config/axios-config'
import setting from './config/setting'
import permission from './utils/permission'
import './styles/index.less'
import EleAdminPro from 'ele-admin-pro'
import ModalUtil from 'ele-admin-pro/packages/modal-util'
import i18n from './lang'
// 引入图文字体
import './assets/fonts/iconfont.css'
// 引入富文本编辑器
import { QuillEditor } from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css';

const app = createApp(App)
app.config.productionTip = false
app.use(store)
app.use(router)
app.use(VueAxios, axios)
app.use('QuillEditor', QuillEditor)
app.use(permission)
app.use(EleAdminPro)
app.use(ModalUtil)
app.use(i18n)
app.config.globalProperties.$setting = setting
app.mount('#app')
